package com.ssm.springboot.service;

import com.ssm.springboot.pojo.DataInfo;
import com.ssm.springboot.pojo.TbUser;
import com.ssm.springboot.pojo.req.TbUserReq;

import javax.servlet.http.HttpSession;

/**
 * (TbUserReq)表服务接口
 *
 * @author makejava
 * @since 2021-12-27 20:36:33
 */
public interface TbUserService {



    DataInfo login(TbUserReq tbUserReq, HttpSession session);

    DataInfo findAll(int page, int limit);

    DataInfo add(TbUser tbUser);

    DataInfo delete(Integer id);
}